/* General styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1B1B1D; /* Dark background */
    color: #F1F1F1; /* Light text color */
    margin: 0;
}

/* Personal projects section */
.projects-container {
    text-align: center;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
    background: #282828;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Slight shadow for depth */
}

.container-projects {
    background-color: #1B1B1D; /* Match the body background */
}

.projects-header {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #00FF7F;
    letter-spacing: 2px;
}

.projects-description {
    margin-bottom: 50px;
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #AAA;
}

/* Projects Section */
.projects-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid layout */
    gap: 30px;
    padding: 0 15px;
}

.projects-step {
    background: #1B1B1D;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #00FF7F;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #F1F1F1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.projects-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.projects-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: orangered;
}

.projects-step h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #02f697;
}

.projects-step p {
    font-size: 1em;
    line-height: 1.4;
    margin: 0 0 20px;
    overflow-y: auto;
    max-height: 150px;
    padding-right: 10px;
}

/* Modern scrollbar styling */
.projects-step p::-webkit-scrollbar {
    width: 8px;
}

.projects-step p::-webkit-scrollbar-track {
    background: #1B1B1D;
}

.projects-step p::-webkit-scrollbar-thumb {
    background: #00FF7F;
    border-radius: 5px;
}

.projects-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items */
}

.projects-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(255, 41, 41);
    color: #1B1B1D;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 1em;
    align-self: center; /* Center align button horizontally */
    margin-top: 10px; /* Add some top margin for spacing */
}

.projects-button i {
    margin-right: 5px;
}

.projects-button:hover {
    background-color: #00D96F;
}

/* Programming languages styling */
.programming-languages {
    font-size: 0.9em;
    color: #00FF7F;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start; /* Align languages to the left */
}

/* Responsive design for process section */
@media (max-width: 1200px) {
    .projects-step {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .projects-process {
        grid-template-columns: 1fr;
    }

    .projects-step {
        width: 100%;
        margin: 15px 0;
    }
}
